/**
 * @nombreClase ConsultaPagoNetAction
 * @nombreClaseAsociada 
 * @version 1.0
 * @fechaCreacion 12/10/2011
 * @autor tgestiona
 * @descripcion controlador de las solicitudes de consultas de documentos por pagar
 * @fechaModificacion 
 * @responsableModificacion 
 * @descripcionModificacion 
 * @copyright CAASA
 */

package com.aasa.siccosap.pagonet.action;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.commons.beanutils.BeanUtils;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;


import com.aasa.siccosap.bean.ParametrosGenerales;
import com.aasa.siccosap.bean.ValorCombo;
import com.aasa.siccosap.pagonet.bean.Documento;
import com.aasa.siccosap.pagonet.form.ConsultaPagoNetForm;
import com.aasa.siccosap.pagonet.form.RptaPagoNetForm;
import com.aasa.siccosap.pagonet.logic.PagoNetLogic;
import com.aasa.siccosap.pagonet.ws.PagoNetWsLocator;
import com.aasa.siccosap.service.AuxiliarService;
import com.aasa.siccosap.util.Constantes;
import com.aasa.siccosap.util.XMLParser;




public class RespuestaRechazadoAction extends Action {

	public static final String RPTA_PAGONET = "respuestaRechazado";
	
	public ActionForward execute(ActionMapping mapping,
            ActionForm form,
            HttpServletRequest request,
            HttpServletResponse response) throws Exception {		
		RptaPagoNetForm objl_rptaPagoNetForm = (RptaPagoNetForm) form;
				
		Enumeration parms = request.getParameterNames ();
	    String parmname;
	    String parmval;
	    while (parms.hasMoreElements ())
	    {
	        parmname = (String) parms.nextElement ();
	        parmval = request.getParameter (parmname);
	        System.out.println(parmname+" : ->"+parmval+"<-");	        
	    }
				
		objl_rptaPagoNetForm.setStrpv_numOperacion((request.getParameter("NumOper")));
		
		return mapping.findForward(RPTA_PAGONET);			
	}
	
	
	
}
